package com.wfx.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
@ApiModel
public class Result<T> {
    //是否成功
    @ApiModelProperty("是否成功")
    @NonNull
    private Boolean success;
    //提示信息
    @NonNull
    @ApiModelProperty("提示信息")
    private String msg;
    //返回数据
    @ApiModelProperty("返回数据")
    private T data;
}
